package com.oreilly.ez.account;

import java.text.NumberFormat;

public class Gen {

    public static void main(String[] args) {


        String tpl = "<tr class=\"row mx-0\">\n" +
                "                            <td class=\"col-3\">#{time}</td>\n" +
                "                            <td class=\"col-9\">\n" +
                "                                    <div class=\"form-group\">\n" +
                "                                            <label for=\"\"></label>\n" +
                "                                            <textarea class=\"form-control\"  rows=\"3\" v-model=\"item.#{time}\"></textarea>\n" +
                "                                    </div>\n" +
                "                            </td>\n" +
                "</tr>\n";

        for (int i = 0; i < 24; i++) {

//            String format = "time" + String.format("%02d", i);
            String format = String.format("%02d", i);
//            System.out.println(tpl.replace("#{time}", format));
            System.out.print("\"" +format + "\", ");
        }
    }
}
